function logout(){
    $.ajax({
        url: '/yuepai/admin/logout.action',
        type: 'get',
        dataType: 'json',
        success: function (res) {
            if(res.status==200){
                window.location.href = "/yuepai/admin/login";
            }
        }
    })
}